<template>
	<view :class="value.padding=='have-padding'?'marginLeft' : ''" :style="{padding:value.paddingTop +'px 0'}">
		<view :style="{ borderTop: '1px ' + value.borderStyle + ' ' + value.color}"></view>
	</view>
</template>

<script>
	// 辅助线
	export default {
		name: 'diy-horz-line',
		props: {
			value: {
				type: Object
			}
		},
		data() {
			return {};
		},
		created() {},
		methods: {}
	};
</script>

<style>
	.marginLeft{
		margin: 0 30rpx;
	}
</style>
